<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib uri="/struts-tags" prefix="s" %>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>IT服务平台---我的呼叫</title>
    
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<script type='text/javascript' src='/gserv/dwr/interface/commDaoImpl.js'></script>
    <script type='text/javascript' src='/gserv/dwr/engine.js'></script>
	<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->
  </head>
  
  <body>
  	<jsp:include page="header.jsp"></jsp:include>
    <div  style="width: 800px;margin: 0 auto;border-style: solid;border-width: 1px;margin-bottom: 2px;">
    <div class="navigation" align="left"><table><tr class="navigation"  align="left"><td>你所在位置:<a href="gongxu/index.jsp">首页</a>>我的空间>我的呼叫管理</td></tr></table></div>
    	<div style="width: 100px;float: left;border-style: solid;border-width: 1px;">
    		<table width="100%">
    			<tr height="40px;" align="center" ><td ><a href="gongxu/usr_getUserInfoById.shtml">基本信息</a></td></tr>
    			<tr height="40px;" align="center"><td style="background-color:#66FF33;"><a href="gongxu/gx_callList.shtml">我的呼叫</a></td></tr>
    			<tr height="40px;" align="center"><td><a href="gongxu/Comm_collList.shtml">呼叫收藏</a></td></tr>
    			<tr height="40px;" align="center"><td><a href="gongxu/Comm_getMessAll.shtml">我的信息</a></td></tr>
    		</table>
    	</div>
    	<div style="width:698px; float: right;border-style: solid;border-width: 1px;">
    		<table width="100%" align="center">
    			<tr>
    				<th>呼叫类型</th>
    				<th>呼叫标题</th>
    				<th>登记时间</th>
    				<th>状态</th>
    				<th>操作</th>
    			</tr>
    			<s:iterator value="#request.callbylist" id="call" status="call_state">
    				<tr>
    					<td><s:property value="callSort.callSortName"/></td>
    					<td><a href="gongxu/gx_getCallById.shtml?callInfo.callId=<s:property value="callId"/>" target="_blank"><s:property value="callName"/></a></td>
    					<td><s:date name="logTime" format="yyyy:MM:dd HH:mm:ss"/></td>
    					<td><s:if test="state==0">
							进行中
						</s:if>
						<s:elseif test="state==1">
							已关闭
						</s:elseif></td>
						<td><img src="css/img/delete.gif" title="删除" border="0" onclick="if (confirm('是否要删除该信息!'))location.href='gx_delCall.shtml?callInfo.callId=<s:property value="callId"/>';return false;" />
						<img src="css/img/edit.gif" border="0" title="编辑" onclick="javascript:location.href='gx_getCallByCallId.shtml?callInfo.callId=<s:property value="callId"/>'" />
						</td>
    				</tr>
    			</s:iterator>
    		</table>
    	</div>
    </div>
   <jsp:include page="bottom.jsp"></jsp:include>  
  </body>
</html>
